//
//  Random.m
//  OR_1
//
//  Created by Luboš Kulič on 8/18/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "Random.h"


@implementation Random

+(BOOL)randomBool{
	if( arc4random() % 100 >= 50 ) return YES;
	else return NO;
}

+(u_int32_t)randomInt{
	return arc4random();
}

+(u_int32_t)randomIntwithRange:(u_int32_t)range {
	return arc4random() % range;
}

@end
